/*
 * CButton.h
 *
 *  Classe representant un bouton d'un device
 */

#ifndef CBUTTON_H_
#define CBUTTON_H_

#include <string>
#include <gadget/Type/Position/PositionUnitConversion.h>
#include <gadget/Type/PositionInterface.h>
#include <gadget/Type/AnalogInterface.h>
#include <gadget/Type/DigitalInterface.h>
#include <gmtl/Vec.h>
#include <gmtl/Coord.h>
#include <gmtl/Xforms.h>
#include <gmtl/Math.h>

class CButton {
private:
	gadget::DigitalInterface _Button;
	std::string _name;
public:
	CButton(std::string name);
	bool isClicked();
	virtual ~CButton();
};

#endif /* CBUTTON_H_ */
